package com.my.object.pool;

import java.nio.ByteBuffer;

/**
 * Created by ZhongGang
 * at 2018/7/24 11:25
 */
public class ByteBufferPool extends AbstractObjectPool<ByteBuffer> {

    public ByteBufferPool(int min, int max) {
        super(min, max);
    }

    @Override
    public ByteBuffer create() {
        return ByteBuffer.allocate(1024);
    }
}
